<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用人单位信息管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<table width="100%" border="1">
<c:if test="${!empty list && param.areaCode != ''}">
 <tr>
    <td class="nohover" colspan="23">
    <input class="buttondownload" type="button" value="下载" onclick="window.location.href='<%=request.getContextPath()%>/ViewCaseXg.do?method=xgXls&areaCode=${param.areaCode}&year=${param.year}&type=${param.type}'">
    </td>
 </tr>
 <tr>
    <td class="nohover" colspan="23" align="center">
    <b>劳动监察效果及专项工作统计表</b>
    </td>
 </tr>
 <tr>
    <td class="nohover" colspan="23" align="left">
    填报单位：${organ.supOrganName}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    ${param.year} 年
    <c:if test="${param.type == '0'}">全年</c:if><c:if test="${param.type == '1'}">上半年</c:if><c:if test="${param.type == '2'}">下半年</c:if><c:if test="${param.type == '3'}">第1季度</c:if><c:if test="${param.type == '4'}">第2季年</c:if><c:if test="${param.type == '5'}">第3季度</c:if><c:if test="${param.type == '6'}">第4季度</c:if>
    </td>
 </tr>
  <tr>
    <td colspan="2" rowspan="3">&nbsp;</td>
    <td colspan="2" rowspan="2"><div align="center">主动监察</div></td>
    <td width="51" rowspan="3"><div align="center">群众举报专查结案数<br>
    （件）</div></td>
    <td colspan="2" rowspan="2"><div align="center">劳动保障年检</div></td>
    <td colspan="2" rowspan="2"><div align="center">参与处理突发事件</div></td>
    <td width="48" rowspan="3"><div align="center">补签劳动合同<br>
    (万人)</div></td>
    <td colspan="2" rowspan="2"><div align="center">追发劳动者<br>
    工资等待遇</div></td>
    <td height="22" colspan="5"><div align="center">社会保险费征缴</div></td>
  </tr>
  <tr>
    <td height="24" colspan="3"><div align="center">督促缴费</div></td>
    <td colspan="2"><div align="center">督促登记</div></td>
  </tr>
  <tr>
    <td width="33" height="91"><div align="center">检查单位数<br>
    (户)</div></td>
    <td width="46"><div align="center">涉及劳动者人数<br>
    (万人)</div></td>
    <td width="45"><div align="center">单位数<br>
    （户）</div></td>
    <td width="62"><div align="center">涉及劳动者人数<br>
    （万人）</div></td>
    <td width="48"><div align="center">案件数（件）</div></td>
    <td width="61"><div align="center">涉及劳动者人数<br>
    （万人）</div></td>
    <td width="46"><div align="center">涉及劳动者人数<br>
    (万人)</div></td>
    <td width="47"><div align="center">金额<br>
    (万元)</div></td>
    <td width="35"><div align="center">单位数<br>
    (户)</div></td>
    <td width="59"><div align="center">涉及劳动者人数<br>
    （万人）</div></td>
    <td width="36"><div align="center">金额<br>
    (万元)</div></td>
    <td width="47"><div align="center">单位数<br>
    （户）</div></td>
    <td width="59"><div align="center">涉及劳动者人数<br>
    （万人）</div></td>
  </tr>
  <tr>
    <td width="121" height="20" align="center">甲栏</td>
    <td width="24" align="center">序号</td>
    <td><div align="center"><strong>1</strong></div></td>
    <td><div align="center"><strong>2</strong></div></td>
    <td><div align="center"><strong>3</strong></div></td>
    <td><div align="center"><strong>4</strong></div></td>
    <td><div align="center"><strong>5</strong></div></td>
    <td><div align="center"><strong>6</strong></div></td>
    <td><div align="center"><strong>7</strong></div></td>
    <td><div align="center"><strong>8</strong></div></td>
    <td><div align="center"><strong>9</strong></div></td>
    <td><div align="center"><strong>10</strong></div></td>
    <td><div align="center"><strong>11</strong></div></td>
    <td><div align="center"><strong>12</strong></div></td>
    <td><div align="center"><strong>13</strong></div></td>
    <td><div align="center"><strong>14</strong></div></td>
    <td><div align="center"><strong>15</strong></div></td>
  </tr>
    <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <c:set var="num" scope="page" value="${num + 1}"/>
  <c:set var="v1" scope="page" value="${v1 + prod[1]}"/>
  <c:set var="v2" scope="page" value="${v2 + prod[2]}"/>
  <c:set var="v3" scope="page" value="${v3 + prod[3]}"/>
  <c:set var="v4" scope="page" value="${v4 + prod[4]}"/>
  <c:set var="v5" scope="page" value="${v5 + prod[5]}"/>
  <c:set var="v6" scope="page" value="${v6 + prod[6]}"/>
  <c:set var="v7" scope="page" value="${v7 + prod[7]}"/>
  <c:set var="v9" scope="page" value="${v9 + prod[9]}"/>
  <c:set var="v10" scope="page" value="${v10 + prod[10]}"/>
  <c:set var="v11" scope="page" value="${v11 + prod[11]}"/>
  <c:set var="v12" scope="page" value="${v12 + prod[12]}"/>
  <c:set var="v13" scope="page" value="${v13 + prod[13]}"/>
  <c:set var="v14" scope="page" value="${v14 + prod[14]}"/>
  </c:forEach>
  <tr>
    <td height="20" align="center">合计</td>
    <td>1</td>
    <td>${v1}</td>
    <td><fmt:formatNumber value="${v2/10000}" pattern="#.0000#"/></td>
    <td>${v3}</td>
    <td>${v4}</td>
    <td><fmt:formatNumber value="${v5/10000}" pattern="#.0000#"/></td>
    <td>${v6}</td>
    <td><fmt:formatNumber value="${v7/10000}" pattern="#.0000#"/></td>
    <td>&nbsp;</td>
    <td><fmt:formatNumber value="${v9/10000}" pattern="#.0000#"/></td>
    <td>&nbsp;</td>
    <td>${v10}</td>
    <td><fmt:formatNumber value="${v11/10000}" pattern="#.0000#"/></td>
    <td><fmt:formatNumber value="${v12/10000}" pattern="#.0000#"/></td>
    <td>${v13}</td>
    <td><fmt:formatNumber value="${v14/10000}" pattern="#.0000#"/></td>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td height="20">${prod[0]}</td>
    <td>${lineInfo.count+1}</td>
    <td>${prod[1]}</td>
    <td><fmt:formatNumber value="${prod[2]/10000}" pattern="#.0000#"/></td>
    <td>${prod[3]}</td>
    <td>${prod[4]}</td>
    <td><fmt:formatNumber value="${prod[5]/10000}" pattern="#.0000#"/></td>
    <td>${prod[6]}</td>
    <td><fmt:formatNumber value="${prod[7]/10000}" pattern="#.0000#"/></td>
    <td>&nbsp;</td>
    <td><fmt:formatNumber value="${prod[9]/10000}" pattern="#.0000#"/></td>
    <td>&nbsp;</td>
    <td>${prod[10]}</td>
    <td><fmt:formatNumber value="${prod[11]/10000}" pattern="#.0000#"/></td>
    <td><fmt:formatNumber value="${prod[12]/10000}" pattern="#.0000#"/></td>
    <td>${prod[13]}</td>
    <td><fmt:formatNumber value="${prod[14]/10000}" pattern="#.0000#"/></td>
  </tr>
  </c:forEach>
  
</c:if>
<c:if test="${empty list || param.areaCode == ''}">
 <tr>
    <td class="nohover" colspan="23" align="center">
    <b>请选择统计条件！</b>
    </td>
 </tr>
</c:if>
</table>
</body>
</html>
